package com.cskaoyan.bean.admin.vo;

import com.cskaoyan.bean.Region;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class RegionT1InfoVO extends Region {

    private List<RegionT2InfoVO> children;

    public RegionT1InfoVO() {
    }

    public RegionT1InfoVO(Integer id, String name, Byte type, Integer code, List<RegionT2InfoVO> children) {
        super(id, name, type, code);
        this.children = children;
    }
}
